#include <stdio.h>

enum examType
{
	login = 1,
	regis
	lookup
};

enum examBool
{
	False,
	True
};

examBool register_fun(const char *name)
{
		
}

int main()
{

	int type = 0;

	enum examType obj;

	obj = login;

	if(obj == login)
		printf("login");

	printf("please input your type:\n");
	printf("0--login,1--regis,2--lookup");
	scanf("%d",&type);

	if(type == login)
	{
		printf("login");
	}else if(type == regis)
	{
		printf("regis\n");
	}else if(type == lookup)
	{
		printf("lookup\n");
	}

	return 0;
}
